# Import graphic images into your application

You can use these types of external graphic files in graphic displays:

- .bmp - bitmap images
- .jpg - JPEG images
- .dxf - AutoCAD files
- .wmf - Windows metafiles

  Tip: | To add an image to a graphic display, first create an image object. To place an image on a graphic object, use the Property Panel, or open the Properties dialog box for the object. If you use the Property Panel, you can place the same image on multiple selected objects simultaneously.

## To import a .dxf or .wmf graphic image

Use the Object menu to import .dxf or .wmf files.

1. From the Objects menu, select Import.
2. Drag the Import cursor to create a rectangle the size you want the imported object to be. When you release the cursor, a browser window opens.
3. Navigate to the directory where the image file is stored.
4. Select the image file to import and click Open.

No bitmap information in these files will be imported. The images will be converted to simple drawing objects, such as lines, polylines, polygons, ellipses, etc.

Tip: | As .dxf and .wmf graphics can be made up of very large numbers of individual drawing objects, too many can impact system performance.

## To import a bitmap (.bmp) or JPEG (.jpg) graphic image

There are three ways to import .bmp and .jpg graphic images into your application:

- Right-click the Images icon in the Explorer window's Graphics folder and select Add Component Into Application. This opens a browser window that you can use to select the image type and locate the image.
- Use the Image Browser dialog box. This dialog box opens when you create an image object, or when you click the Browse button in any Image property panel or Properties dialog box selection. You can also use this dialog box to remove images from the project.
- Open two instances of FactoryTalk View Studio, then drag an image from an application in one instance of FactoryTalk View Studio to an application in another instance of FactoryTalk View Studio.

## To import a bitmap (.bmp) or JPEG (.jpg) graphic image with the Image Browser

1. Open the Image Browser. If you are creating an image object, the Image Browser opens as soon as you have drawn the space on the display. If you are adding an image to an object in a display, open the object's Properties dialog box or Property Panel and then, in the Images property, click the Browse button (...).
2. Click Add from File to open a Windows Open dialog box.
3. Navigate to the directory where the images are stored.
4. Select the images to import and click OK. The dialog box closes and the images appear in the Image Browser's Select image list.
5. Click OK to close the Image Browser dialog box.

   Tip: | To preview images before you import them, click the View Menu icon at the top right of the Windows Open dialog box, and select Thumbnails.

## To add an image from Symbol Factory to a graphic object using the image browser

1. In the graphic display, draw the graphic object you are going to import an image for. The Image Browser will open.
2. In the Image Browser, click Launch Library. Symbol Factory will open as a new window.
3. Browse the Categories frame, clicking on a category to see the symbols in the right frame.
4. Click on the graphic to select it for the Graphic Display.
5. Click Copy, the Symbol Factory minimizes, returning to the Image Browser.
6. Click the Paste from Library button. A dialog box Image Name Entry will open.
7. Type a unique name for the image and click OK.
8. The graphic will now be shown in the Preview window. The graphic has been added to the list in the Image Browser. This also adds the image to the Images folder in the Explorer window.
9. Click OK to close the Image Browser. The image will be in the Graphic Display.

## To remove a .bmp or .jpg graphic image from the application

- Right-click the image's name in the Images folder and select Remove from the Context menu. Remove will not delete the file from the disk.

## To delete a .bmp or .jpg graphic image from the application

There are two ways to delete an image:

- Right-click the image's name in the Images folder and select Delete from the Context menu. Delete will delete the file from the disk.
- In the Image Browser's Select image list, select the image to remove and click Delete. At the prompt, click OK to confirm.

## See also

Use the Property Panel

The Graphics editor

View images in your project

Using Symbol Factory

Keywords: import